package com.lanbu.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.lanbu.system.mapper.SysUserShareidMapper;
import com.lanbu.system.domain.SysUserShareid;
import com.lanbu.system.service.ISysUserShareidService;

/**
 * 部门关联shareidService业务层处理
 *
 * @author lanbu
 * @date 2025-04-18
 */
@Service
public class SysUserShareidServiceImpl implements ISysUserShareidService
{
    @Autowired
    private SysUserShareidMapper sysUserShareidMapper;

    @Override
    public SysUserShareid selectSysUserShareidByUserId(Long userId)
    {
        return sysUserShareidMapper.selectSysUserShareidByUserId(userId);
    }

    @Override
    public List<SysUserShareid> selectSysUserShareidList(SysUserShareid sysUserShareid)
    {
        return sysUserShareidMapper.selectSysUserShareidList(sysUserShareid);
    }

    @Override
    public int insertSysUserShareid(SysUserShareid sysUserShareid)
    {
        return sysUserShareidMapper.insertSysUserShareid(sysUserShareid);
    }

    @Override
    public int updateSysUserShareid(SysUserShareid sysUserShareid)
    {
        return sysUserShareidMapper.updateSysUserShareid(sysUserShareid);
    }

    @Override
    public int deleteSysUserShareidByUserIds(Long[] userIds)
    {
        return sysUserShareidMapper.deleteSysUserShareidByUserIds(userIds);
    }

    @Override
    public int deleteSysUserShareidByUserId(Long userId)
    {
        return sysUserShareidMapper.deleteSysUserShareidByUserId(userId);
    }
}
